package br.com.massai.model.repository;

import java.util.List;


public interface GenericRepository<T> {

	void criar(T entity);
	
	void excluir(T entity);
	
	T atualizar(T entity);
	
	T obterPorId(Long id);
	
	List<T> obterTodos();

}
